﻿using System.Globalization;
using System.Windows.Input;
using TciNewsReader_2014_04.Infrastructure;
using TciNewsReader_2014_04.Properties;
namespace TciNewsReader_2014_04.VmHelpers
{
    public class ConfigInfo
    {
        public ICommand ProcessCommand
        {
            get { return new RelayCommand(o => { }, o => true); }
        }
        public string Editor
        {
            get { return Settings.Default.Editor; }
        }
        public string UrlFileLocation
        {
            get { return Constants.UrlFileLocation; }
        }
        public string LogFileLocation
        {
            get { return Constants.LogFileLocation; }
        }
        public string HistoryLocation
        {
            get { return Constants.HistoryLocation; }
        }
        public string AsyncTasking
        {
            get { return Settings.Default.AsyncTasking.ToString(); }
        }
        public string ShowErrorsOnExit
        {
            get { return Settings.Default.ShowExceptionsOnClose.ToString(); }
        }
        public string NoiseAlerts
        {
            get { return Settings.Default.NoiseAlerts.ToString(); }
        }
        public string DefaultFeedInclusion
        {
            get { return Constants.DefaultFeedInclusion.ToString(); }
        }
        public string MaxHistoryItems
        {
            get { return Constants.MaxHistoryItems.ToString(CultureInfo.InvariantCulture); }
        }
    }
}